package com.jy.adscm.operation.purchase.bean;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author lzf
 * @since 2019-04-22
 */
public class PurchaseFinance implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    private Long cid;
    /**
     * 货款是否已结
     */
    @TableField("isPurchasePrice")
    private Boolean isPurchasePrice;
    /**
     * 付款金额
     */
    @TableField("paymentSum")
    private Double paymentSum;
    /**
     * 付款日期
     */
    @TableField("paymentDate")
    private Date paymentDate;
    /**
     * 付款创建时间
     */
    @TableField("paymentCreateTime")
    private Date paymentCreateTime;
    /**
     * 发票是否已到
     */
    @TableField("isInvoiceArrive")
    private Boolean isInvoiceArrive;
    /**
     * 发票号
     */
    @TableField("invoiceNums")
    private String invoiceNums;
    /**
     * 发票金额
     */
    @TableField("invoiceSum")
    private Double invoiceSum;
    /**
     * 收发票日期
     */
    @TableField("invoiceArriveDate")
    private Date invoiceArriveDate;
    /**
     * 收发票创建时间
     */
    @TableField("invoiceArriveCreateTime")
    private Date invoiceArriveCreateTime;
    /**
     * 财务人员
     */
    @TableField("financePerson")
    private Integer financePerson;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getCid() {
        return cid;
    }

    public void setCid(Long cid) {
        this.cid = cid;
    }

    public Boolean getPurchasePrice() {
        return isPurchasePrice;
    }

    public void setPurchasePrice(Boolean isPurchasePrice) {
        this.isPurchasePrice = isPurchasePrice;
    }

    public Double getPaymentSum() {
        return paymentSum;
    }

    public void setPaymentSum(Double paymentSum) {
        this.paymentSum = paymentSum;
    }

    public Date getPaymentDate() {
        return paymentDate;
    }

    public void setPaymentDate(Date paymentDate) {
        this.paymentDate = paymentDate;
    }

    public Date getPaymentCreateTime() {
        return paymentCreateTime;
    }

    public void setPaymentCreateTime(Date paymentCreateTime) {
        this.paymentCreateTime = paymentCreateTime;
    }

    public Boolean getInvoiceArrive() {
        return isInvoiceArrive;
    }

    public void setInvoiceArrive(Boolean isInvoiceArrive) {
        this.isInvoiceArrive = isInvoiceArrive;
    }

    public String getInvoiceNums() {
        return invoiceNums;
    }

    public void setInvoiceNums(String invoiceNums) {
        this.invoiceNums = invoiceNums;
    }

    public Double getInvoiceSum() {
        return invoiceSum;
    }

    public void setInvoiceSum(Double invoiceSum) {
        this.invoiceSum = invoiceSum;
    }

    public Date getInvoiceArriveDate() {
        return invoiceArriveDate;
    }

    public void setInvoiceArriveDate(Date invoiceArriveDate) {
        this.invoiceArriveDate = invoiceArriveDate;
    }

    public Date getInvoiceArriveCreateTime() {
        return invoiceArriveCreateTime;
    }

    public void setInvoiceArriveCreateTime(Date invoiceArriveCreateTime) {
        this.invoiceArriveCreateTime = invoiceArriveCreateTime;
    }

    public Integer getFinancePerson() {
        return financePerson;
    }

    public void setFinancePerson(Integer financePerson) {
        this.financePerson = financePerson;
    }

    @Override
    public String toString() {
        return "PurchaseFinance{" +
        "id=" + id +
        ", cid=" + cid +
        ", isPurchasePrice=" + isPurchasePrice +
        ", paymentSum=" + paymentSum +
        ", paymentDate=" + paymentDate +
        ", paymentCreateTime=" + paymentCreateTime +
        ", isInvoiceArrive=" + isInvoiceArrive +
        ", invoiceNums=" + invoiceNums +
        ", invoiceSum=" + invoiceSum +
        ", invoiceArriveDate=" + invoiceArriveDate +
        ", invoiceArriveCreateTime=" + invoiceArriveCreateTime +
        ", financePerson=" + financePerson +
        "}";
    }
}
